Skip to content

gh-153528: Document mode="func_type" in compile()#153561

Open
pranavchoudhary-tech wants to merge 2 commits into
python:mainfrom
pranavchoudhary-tech:fix-compile-func-type-doc-clean
Open

gh-153528: Document mode="func_type" in compile()#153561
pranavchoudhary-tech wants to merge 2 commits into
python:mainfrom
pranavchoudhary-tech:fix-compile-func-type-doc-clean

Conversation

@pranavchoudhary-tech

Copy link
Copy Markdown
Contributor

Fixes #153528.

This adds a brief documentation note to compile() explaining the func_type mode and linking it to ast.parse for more details.

(Note: This replaces the previous PR #153542 which was accidentally submitted with unrelated commits from another branch).

@read-the-docs-community

read-the-docs-community Bot commented Jul 11, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33544021 | 📁 Comparing 01a5dcd against main (9ca8927)

  🔍 Preview build  

3 files changed
± library/asyncio-queue.html
± library/functions.html
± whatsnew/changelog.html

@aisk

aisk commented Jul 11, 2026

Copy link
Copy Markdown
Member

According to the Dev Guide, document changes don't need a news entry file.

@aisk aisk added the skip news label Jul 11, 2026
@pranavchoudhary-tech

Copy link
Copy Markdown
Contributor Author

@aisk Done! I've removed the NEWS entry. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

compile(): func_type mode is not documented

2 participants